//
//  THJReceivePushMsgView.m
//  THJXHW
//
//  Created by 河南德艺 on 17/4/26.
//  Copyright © 2017年 河南德艺. All rights reserved.
//

#import "THJReceivePushMsgView.h"

@implementation THJReceivePushMsgView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/


+(THJReceivePushMsgView*)instancView{
    
    NSArray* nibView =  [[NSBundle mainBundle] loadNibNamed:@"THJReceivePushMsgView" owner:nil options:nil];
    return [nibView objectAtIndex:0];
}
- (IBAction)goToMsgDetailBtnClicked:(id)sender {
    if ([self.delegate respondsToSelector:@selector(goToReceivePushMsgDetail)]){
        [self.delegate goToReceivePushMsgDetail];
    }
    [self removeFromSuperview];
}
- (IBAction)shaohouBtnClicked:(id)sender {
    
   [self removeFromSuperview];
}
@end
